ifneq ($(KERNELRELEASE),)

obj-m += vfb.o

else

# KERNEL_DIR ?= /lib/modules/$(shell uname -r)/build
KERNEL_DIR ?= /home/lenver/work/fsl/zy_linux/build_obj/obj_kernel
PWD := $(shell pwd)

all:
	$(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules
clean:
	$(MAKE) -C $(KERNEL_DIR) M=$(PWD) clean
endif
